package com.ruoyi.business.domain.vo;

import java.sql.Time;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.annotation.Excel.Type;

/**
 * 火车管理对象 train
 * 
 * @author ruoyi
 * @date 2025-03-06
 */

@Data
public class TrainVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Excel(name = "id")
    private Long id;

    /** 车次编号 */
    @Excel(name = "车次编号")
    private String code;

    /** 车次类型 */
    @Excel(name = "车次类型")
    private String type;

    /** 始发站 */
    @Excel(name = "始发站")
    private String start;

    /** 始发站拼音 */
    @Excel(name = "始发站拼音")
    private String startPinyin;

    /** 出发时间 */
    @JsonFormat(pattern = "hh:mm:ss")
    @Excel(name = "出发时间", width = 30)
    private String startTime;

    /** 终点站 */
    @Excel(name = "终点站")
    private String end;

    /** 终点站拼音 */
    @Excel(name = "终点站拼音")
    private String endPinyin;

    /** 到站时间 */
    @JsonFormat(pattern = "hh:mm:ss")
    @Excel(name = "到站时间", width = 30)
    private String endTime;

    /** 错误信息 */
    @Excel(name = "错误原因", type = Type.EXPORT)
    private String errorMsg;
}
